﻿using System.Threading.Tasks;

namespace TK.TSocket
{
    /// <summary>
    /// 接收数据
    /// </summary>
    public interface IReceiveData
    {
        /// <summary>
        /// 接收数据
        /// </summary>
        /// <param name="dataPacket">DataPacket</param>
        Task ReceiveDataAsync(DataPacket dataPacket);
    }
}
